@{
    ViewData["Title"] = "访问被拒绝";
}

<div class="container" style="min-height: 70vh;">
    <div class="row justify-content-center align-items-center" style="min-height: 60vh;">
        <div class="col-md-7 col-lg-6">
            <div class="card shadow-lg border-0">
                <div class="card-body text-center py-5">
                    <div class="mb-4">
                        <i class="fas fa-ban fa-5x text-danger"></i>
                    </div>
                    <h2 class="mb-3 text-danger">访问被拒绝</h2>
                    <p class="mb-4 fs-5 text-secondary">
                        很抱歉，您没有权限访问此页面。<br>
                        可能是因为投票结果仅对发起人可见，或您没有足够的权限。
                    </p>
                    <div class="d-flex justify-content-center gap-3">
                        <a href="@Url.Action("Index", "Vote")" class="btn btn-outline-secondary">
                            <i class="fas fa-arrow-left"></i> 返回投票列表
                        </a>
                        <a href="@Url.Action("Index", "Home")" class="btn btn-primary">
                            <i class="fas fa-home"></i> 返回首页
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div> 